<template>
	<view>
		<camera-list :deviceCore="deviceCore"></camera-list>
		<setting :deviceCore="deviceCore" :deviceName="deviceName"></setting>
	</view>
</template>

<script>
	import CameraList from '@/components/ztn-custom/CameraList/index.vue'
	import Setting from '@/components/ztn-custom/Setting/index.vue'
	import * as storage from '@/util/storage.js'
	export default {
		name:'DeviceSetting',
		data() {
			return {

			}
		},
		computed: {
			themeConfig() {
				return this.$store.state.themeConfig
			}
		},
		props: {
			deviceName: {
				type: String,
				default: ''
			},
			deviceCore: {
				type: String,
				default: ''
			}
		},
		mounted() {
			storage.setDeviceNavigationComponent('deviceSetting')
			this.init()
		},
		methods: {
			init() {
				/**
				 * 勿删
				 */
			}
		},
		components: {
			CameraList,
			Setting
		}
	}
</script>
